package com.gp.test.prototype.serialize;

import java.io.Serializable;

/**
 * 人实体类
 *
 * @author
 * @create 2017-05-24 11:09
 */
public class Person implements Serializable {
	private static final long serialVersionUID = -7913429685724874926L;
	private String name;
	private int age;
	private Address address;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "Person{" +
				"name='" + name + '\'' +
				", age=" + age +
				", address=" + address +
				'}';
	}
}
